package io.kiki.task.client.common.rpc.supports.handler;

import io.kiki.task.client.common.rpc.supports.http.Request;
import io.kiki.task.client.common.rpc.supports.http.Response;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.HttpHeaders;
import io.netty.handler.codec.http.HttpMethod;
import lombok.Builder;
import lombok.Data;

/**
 * netty客户端请求模型
 */
@Data
@Builder
public class HttpRequest {

    private final ChannelHandlerContext channelHandlerContext;
    private final String content;
    private final boolean keepAlive;
    private final HttpMethod httpMethod;
    private final String uri;
    private final HttpHeaders httpHeaders;
    private final Response response;
    private final Request request;

}
